function login(){
	var loginName = $("#loginName").val();
	var password = $("#password").val();
	
	$.post(contextPath + "/Login",{"loginName":loginName,"password":password,"action":"login"},function(jsonStr){
		if (jsonStr.status == 1) {
			window.location.href=contextPath+"/HomeServlet?action=index";
		} else {
			showMessage(jsonStr.message);
		}
	},"json");
}